<template>
	<view>
		<view class="diolagmak" @tap="openMsak" v-show="openShow"></view>
		<view class="diolagOpen" v-show="openShow">
			<view @tap="addfriends">
				<view class="icon iconfont icon-sousuo"></view>
				<view>加糗友</view>
			</view>
			<view @tap="clean">
				<view class="icon iconfont icon-qingchu"></view>
				<view>清楚未读</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:['openShow'],
		data(){
			return{
				
			}
		},
		methods:{
			openMsak(){
				this.$emit('closedio')
			},
			addfriends(){
				this.$emit('addfriends')
			},
			clean(){
				this.$emit('clean')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.diolagmak{
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		z-index: 1999;
		// background-color: #000000;
	}
	.diolagOpen{
		width: 50%;
		background-color: #FFFFFF;
		position: fixed;
		top: 100upx;
		right: 0;
		z-index: 2000;
		box-shadow: 1upx 1upx 20upx 2upx #CCCCCC;
		padding: 10upx;
		&>view{
			display: flex;
			align-items: center;
			height: 80upx;
			line-height: 80upx;
			&>view{
				padding-left: 20upx;
				font-weight: 600;
			}
		}
	}
</style>
